package com.qfjy.homework.student.yg.prox.service.impl;

import com.qfjy.homework.student.yg.prox.domain.Student;
import com.qfjy.homework.student.yg.prox.service.StudentService;

/**
 * 学生操作实现类
 */
public class StudentServiceImpl implements StudentService {
    @Override
    public void addStudent(Student student) {
        System.out.println("添加学生成功");
    }

    @Override
    public Student getStudent(Integer id) {
        Student student = new Student();
        student.setName("布洛妮娅");
        student.setId(id);
        System.out.println("查询学生");
        return student;
    }
}
